<template>
  <div class="box">
    <div class="aside">
      <div class="sort_navigate">
        <!-- 计分设置 -->
        <RouterLink to="/sortMain/count" active-class="sort_active">
          <div>.</div>
          <p>统计分数</p>
        </RouterLink>
      </div>
      <div class="sort_navigate">
        <!-- 实时排名 -->
        <RouterLink to="/sortMain/sort" active-class="sort_active">
          <div>.</div>
          <p>实时排名</p>
        </RouterLink>
      </div>
    </div>
    <div class="sort_main"><RouterView></RouterView></div>
  </div>
</template>

<script setup>
import './main.css'
import { onMounted } from 'vue'
import router from '../../router'

onMounted(() => {
  router.push('/sortMain/count')
})
</script>
